package com.ler.yrmall.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ler.yrmall.basic.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Leron
 */
@Data
@TableName("ums_member")
@EqualsAndHashCode(callSuper = true)
public class MemberEntity extends BaseEntity<MemberEntity> {

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    @JsonIgnore
    private String password;


    /**
     * 头像
     */
    private String avatar;

    /**
     * 积分
     */
    private Integer integral;

    /**
     * 成长值
     */
    private Integer growth;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 状态
     */
    private Integer status;

}
